home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / bascom6.arc / BASCOM6.TXT
Encoding:
Text File  |  1988-03-02  |  8.3 KB  |  177 lines

  1. 1
  2. CompuServe                MIC-39
  3.  
  4.  Microsoft BASIC Compiler Version 6.0 Product Information
  5.  
  6.  Introduction
  7.  
  8.    Microsoft BASIC Compiler Version 6.0 is Microsoft's BASIC
  9.  Compiler for IBM personal computers and compatibles, designed to
  10.  be the total BASIC solution for the professional developing
  11.  either MS-DOS or MS OS/2 BASIC programs.
  12.  
  13.  Product Features
  14.  
  15.    Microsoft BASIC Compiler 6.0 supports the MS OS/2 and MS-DOS
  16.  operating systems, letting users create both protected-mode and
  17.  real-mode programs. This broad operating system support, together
  18.  with the debugging power of CodeView, significant new language
  19.  enhancements, and a host of new utilities, makes Microsoft BASIC
  20.  Compiler the most advanced BASIC compiler available for the
  21.  personal computer environment.
  22.  
  23.  MS OS/2 Support
  24.  
  25.    Microsoft BASIC Compiler 6.0 provides all the tools necessary
  26.  to create and debug protected-mode applications in the MS OS/2
  27.  environment.
  28.    The compiler component of the BASIC Compiler 6.0 package
  29.  allows the programmer to choose to compile and link in either
  30.  operating environment. Under MS-DOS, the default is to target the
  31.  resultant .EXE for MS-DOS. Under MS OS/2, the default .EXE is
  32.  created for protected-mode.
  33.    Among the special features added to the BASIC language in
  34.  support of MS OS/2 are the SHELL function and the OPEN PIPE:
  35.  statement. The SHELL function allows the parent process to start
  36.  another, asynchronous, process which runs simultaneous to the
  37.  parent process. For example, in an accounting system, a printing
  38.  process could be started to print a report, while the operator
  39.  continues entering data. The OPEN PIPE: statement allows the
  40.  parent to spawn a child process and establishes communications
  41.  to/from the parent/child.
  42.    In addition, ON SIGNAL allows interprocess signaling
  43.  (including signals from the operating system), and SLEEP suspends
  44.  execution until one of several events occurs.
  45.  Debugging With Microsoft CodeView, Microsoft's
  46.  powerful window-oriented debugger is now included in the
  47.  Microsoft BASIC Compiler package. CodeView gives the programmer
  48.  complete control over the debugging process, significantly
  49.  shortening the debugging cycle.
  50.    CodeView now supports debugging under both MS-DOS and MS OS/2
  51.  operating systems. Under MS OS/2, CodeView can debug applications
  52.  up to 128MB in size. With new support for the Expanded Memory
  53.  specification, CodeView can debug bigger applications than before
  54.  under MS-DOS.
  55.    The window-oriented visual interface of CodeView helps the
  56.  programmer catch errors quickly by allowing the programmer to
  57.  view the source code, disassembled code, variables, memory
  58.  registers, and the stack, all at the same time. Programmers can
  59.  set breakpoints or watch expressions and variables, animate or
  60.  single-step through a program's execution, trace the contents of
  61.  the stack, and set breakpoints that stop execution when the
  62.  contents of a variable or expression reaches a critical value.
  63.  For the first time, the programmer can display data structures
  64.  and interactively follow linked lists and nested structures
  65.  ("data browsing"). The screen updates automatically during
  66.  debugging; the programmer always sees the latest information.
  67.    CodeView also supports debugging mixed-language programs
  68.  created with Microsoft C, FORTRAN, and Macro Assembler, plus
  69.  QuickC and QuickBASIC on MS-DOS. CodeView will automatically
  70.  display the source code in the appropriate language as the
  71.  routine is entered.
  72.  
  73.  Extensive Math Libraries
  74.  
  75.    With Microsoft BASIC 6.0 programmers have a choice of three
  76.  floating-point math libraries. The first, an 8087/287/387
  77.  library, offers the fastest execution as well as high precision
  78.  (80-bit IEEE format) and requires the presence of a math
  79.  coprocessor. The second, a floating-point coprocessor emulation
  80.  library, provides the same 80-bit representation without a
  81.  coprocessor. The third choice, an alternate math package, offers
  82.  added speed with 64-bit precision for machines without a
  83.  coprocessor.
  84.  
  85.  New Language Enhancements
  86.  
  87.    The BASIC language is one of the finest examples of a
  88.  programming language evolving to meet the needs of application
  89.  developers. Microsoft has the two following things in mind when
  90.  evaluating a possible enhancement to the BASIC language:
  91.  
  92.    1. Allow the programmer to tap into the power of the hardware
  93.  and operating system.
  94.  
  95.    2. Give the programmer the language features necessary to
  96.  write professional, maintainable, and powerful applications.
  97.  
  98.    With these things in mind, the following language enhancements
  99.  have been added to the BASIC language in Microsoft BASIC Compiler
  100.  6.0:
  101.  
  102.    1. Improved error handling. One of the biggest drawbacks to
  103.  using BASIC for large, professional applications was its
  104.  inability to handle errors in a multiple module program. With
  105.  Microsoft BASIC Compiler 6.0, powerful inter-module error
  106.  handling is now supported.
  107.  
  108.    2. User-defined events. Microsoft BASIC Compiler 6.0 now has
  109.  the ability to define events that can be trapped and acted upon
  110.  by the program. This feature allows programmers to easily write
  111.  instrumentation control and industrial control applications with
  112.  BASIC Compiler 6.0.
  113.  
  114.    3. User-defined data types and records. Earlier Microsoft
  115.  BASIC offerings added structure to the BASIC language; BASIC
  116.  Compiler 6.0 adds structure to the program's data with user-
  117.  defined data types and records. Analogous to records in Pascal
  118.  and structures in C, these allow the programmer to work with
  119.  complex data structure in ways not possible before with BASIC.
  120.  
  121.    4. Arrays as large as available memory. Under MS-DOS, arrays
  122.  may now be as large as available memory. Under OS/2 protected-
  123.  mode, arrays may be up to 128MB and are limited only by the
  124.  amount of available disk space on the hard disk which is acting
  125.  as the swapping device.
  126.  
  127.  Customized Run-Time Modules
  128.  
  129.    Programmers can compile their BASIC applications into either a
  130.  stand-alone .EXE file; or an .EXE which requires the BASIC
  131.  Compiler 6.0 run-time module to execute. If the latter is used,
  132.  the runtime module can be extended by the programmer with often-
  133.  used routines.
  134.    Whether a developer builds stand-alone .EXEs or uses the
  135.  routine module, he or she can "link out" parts of BASIC that are
  136.  not needed, to provide .EXE size control.
  137.    This option, available for both real-mode and protected-mode
  138.  applications, can result in considerably reduced program size on
  139.  disk in large multi-module, multi-program applications.
  140.  
  141.  Microsoft QuickBASIC 4.0 Included
  142.  
  143.    To help the programmer create MS-DOS applications as fast as
  144.  possible, Microsoft QuickBASIC 4.0 is included in the BASIC
  145.  Compiler 6.0 package. With its in-memory editing and debugging,
  146.  Microsoft QuickBASIC provides an instant programming environment
  147.  for MS-DOS applications. Offering the interactive feel of an
  148.  interpreter with the speed of a compiler, Microsoft QuickBASIC
  149.  4.0 offers the ultimate programming environment and serves as a
  150.  high-speed prototyping tool for the BASIC compiler.
  151.  
  152.  Time-Saving Utilities
  153.  
  154.    In addition to the Microsoft BASIC Compiler 6.0 and Microsoft
  155.  QuickBASIC 4.0, the package contains a host of utilities to
  156.  provide extra flexibility and power, and to reduce the time for
  157.  developing professional applications, as follows:
  158.  
  159.    1. Microsoft Editor: The Microsoft Editor is a smart editor
  160.  that allows the programmer to compile and link directly from the
  161.  editor environment, reporting compiler errors back to the user.
  162.  Supporting both MS-DOS and OS/2, the Microsoft editor allows the
  163.  programmer to edit either real-mode or protected-mode
  164.  applications. In addition, the Microsoft Editor is fully
  165.  programmable, so programmers can customize it to meet their
  166.  needs. The keyboard can be reconfigured to emulate any editor; we
  167.  have included configuration files to emulate BRIEF, Epsilon,
  168.  WordStar, and Microsoft QuickBASIC and QuickC.
  169.  
  170.    2. LIB: The Microsoft library manager lets programmers store
  171.  modules written in any Microsoft language in a library that can
  172.  be called from a BASIC program.
  173.  
  174.    3. MAKE: The Microsoft program maintenance utility keeps
  175.  program components up to date by automatically recompiling and
  176.  relinking as changes are made to the source.
  177.